/**
 * 
 */
package feedme.dao;

import java.util.List;

/**
 * @author kinzhang
 * @param <E>
 *
 */
public interface BaseDao {
    
    List<?> findAll() throws Exception;
    
    /**
     * 
     * @param obj
     * @return false 操作成功
     * @throws Exception
     */
    boolean save(Object obj) throws Exception;
    boolean delete(Object obj) throws Exception;
    
}
